<%inherit file="/mtp.html"/>

<h1>History of <a href="${h.url_for('page', id=c.page.urlTitle())}">${c.page.title}</a></h1>
<div class="history_list">
<ul>
% for rev in c.page.revisions:
    <li>
        <a href="${h.url_for('page_revision', page_id=c.page.urlTitle(), id=rev.revision)}">${rev.revision} Title:${rev.title}</a> 
        <ul>
            % if rev.author:
            <li>User: ${rev.author.username}</li>
            % endif
            <li>On: ${h.formatdatetime(rev.created)}</li>
            % if rev.comment:
            <li>Comment: ${rev.comment}</li>
            % endif
        </ul>
    </li>
% endfor
</ul>
</div>
